<template>
    <div>
        {{ parentMsg }}---{{ sonFromParent }}
    </div>
</template>
<script>
export default {
    props:["parentMsg"],
    data() {
        return {
            sonFromParent:this.parentMsg,
        };
    }
};
</script>
<style>
    
</style>